package jedicourse.jduplessy.exercisesChapter5.core;

import java.util.Scanner;

/**
 * 
 * @author jd09008 
 * # exercise 5.4
 * 
 */

public class Palindromo {

	public static void main(String[] Args) throws Exception {

		try {

			Scanner in = new Scanner(System.in);
			String text = in.next();

			for (int i = 0; i <= ((text.length() - 1) / 2); i++) {
				if (text.charAt(i) != text.charAt(text.length() - 1 - i)) {
					System.out.println("the string is not \"Capicua\"");
					break;
				} else if (i == (text.length() - 1) / 2) {
					System.out.println("the string is \"Capicua\"");
				}
			}

		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
